package ks.client.gui;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JTextField;
import ks.client.controllers.admincommands.PluginClearCommand;
import ks.client.controllers.admincommands.ReportCommand;
import ks.client.gui.ErrorMessageGUI;
import ks.client.kommander.Action;
import ks.client.lobby.Lobby;


/**
 * 
 * 
 */
public class ReportClick implements ActionListener{
	
	Lobby lobby;
	
	/**
	 * 
	 * Clear stats click constructor.
	 * 
	 * @param lobby
	 * @param table
	 */
	public ReportClick(Lobby lobby) {
		this.lobby = lobby;
		
	}

	/**
	 * 
	 * Button is clicked. 
	 * 
	 */
	public void actionPerformed(ActionEvent e){
		
			new ReportCommand(lobby).send();
		}
	
}
